package com.fairytask.ui
{
	import com.fairytask.engine.components.text.Text;
	import com.fairytask.engine.resource.StaticIni;
	import com.fairytask.ui.base.FrameUI;

	public class HelpUI extends FrameUI
	{
		private static var _self				:HelpUI;
		public var helpText		:Text;  //用于显示帮助的文字
		
		
		//用于获得到单例的对象
		public static function getInstance():HelpUI
		{
			//如果已经有这个对象了，就获取到，如果没有就创建这个实例
			if(_self == null)
			{
				_self	=	new HelpUI();				
			}
			return _self;
		}
		public function HelpUI()
		{
			super();
			helpText.htmlStr	=	StaticIni.getSwfLangStr("1000000146");
		}
		public function addtext(val:String):void
		{
			helpText.htmlStr	=	StaticIni.getSwfLangStr(val);
			
		}
	}
	
	
}